package com.mb.app.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 产品与分类对应关系表
 * </p>
 *
 * @author liliping
 * @since 2019-04-08
 */
@TableName("tb_product_class_relation")
public class TbProductClassRelation implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(value = "id")
	private Long id;

	/**
	 * 产品编号
	 */
	@TableField(value="product_id")
	private Long productId;

	/**
	 * 分类编号
	 */
	@TableField(value="class_id")
	private Long classId;

	/**
	 * 创建日期
	 */
	@TableField(value="create_time")
	private Date createTime;

	@TableField(exist = false)
	private String className;


	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public Long getClassId() {
		return classId;
	}

	public void setClassId(Long classId) {
		this.classId = classId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
